package cn.cloud.search.bean.query;

import cn.cloud.utils.StringUtils;

/**************
 * 查询请求信息
 * @author haole
 *
 */
public class QueryRequestInfo {
	
	public static final String ALL_TYPE = "ALL";
	
	private String queryType;
	
	private String queryContent;
	
	private String pageNo;
	
	public QueryRequestInfo(String queryType,String queryContent,String pageNo){
		this.queryContent = queryContent;
		this.queryType = queryType;
		this.pageNo = pageNo;
	}
	
	

	public String getPageNo() {
		return pageNo;
	}



	public String getQueryType() {
		return queryType;
	}
	
	
	
	public String getQueryContent() {
		return queryContent;
	}

	public String[] getQueryContentItem(){
		if(!StringUtils.isEmpty(queryContent))
			return queryContent.split(" ");
		return null;
	}



	public void setPageNo(String pageNo) {
		this.pageNo = pageNo;
	}

}
